home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwrh14.dir / 00158_Script_158 < prev    next >
Text File  |  1994-11-15  |  2KB  |  81 lines

  1. on startMovie
  2.   cursor 4
  3.   global nowFrame, currMM
  4.   set currMM = "FLWWT"
  5.   
  6.   preLoadCast 1,6
  7.   
  8.   puppetSprite 21, TRUE
  9.   puppetSprite 22, TRUE
  10.   puppetSprite 23, TRUE
  11.   puppetSprite 11, TRUE
  12.   set the immediate of sprite 23 to TRUE
  13.   set the stretch of sprite 23 to FALSE
  14. end startMovie
  15.  
  16. on stepMovie
  17.   global nowFrame,currFrame
  18.   if nowFrame  <> currFrame then
  19.     seeAlsoList
  20.     set currFrame = nowFrame
  21.   end if
  22. end stepMovie
  23.  
  24. on saveLocals
  25.   global lastMovie, lastFrame, nowFrame
  26.   set lastFrame = nowFrame
  27.   set lastMovie = "FLWRH14"
  28. end saveLocals
  29.  
  30. on buttonState
  31.   global FrankNav, bFlag 
  32.   
  33.   if rollover(11) then
  34.     set the castNum of sprite 11 to 1082
  35.     if the mouseDown then
  36.       set the castNum of sprite 11 to 1083
  37.     end if
  38.   else
  39.     set the castNum of sprite 11 to 1081
  40.   end if
  41.   
  42.   if rollover(6) then
  43.     rollCheck
  44.   else
  45.     set pos = 0
  46.     cursor -1
  47.   end if
  48.   if (the mouseV > 400) or (bFlag = TRUE) then
  49.     doState
  50.   end if
  51. end buttonState
  52.  
  53. on rollCheck
  54.   global right, left, forw, pos
  55.   if the mouseH>=446 and the mouseH<=537 and the mouseV>180 and the mouseV<420 then
  56.     if right = 1 then
  57.       set pos = 3
  58.       cursor [1065,1066]
  59.     else
  60.       set pos = 0
  61.       cursor [1071,1072]
  62.     end if
  63.   else if the mouseH>=217 and the mouseH<=308 and the mouseV>180 and the mouseV<420 then
  64.     if left = 1 then
  65.       set pos = 1
  66.       cursor [1069,1070]
  67.     else
  68.       set pos = 0
  69.       cursor [1071,1072]
  70.     end if
  71.   else if the mouseH>=307 and the mouseH<=447 and the mouseV>180 and the mousev<=420 then
  72.     if forw = 1 then
  73.       set pos = 2
  74.       cursor [1067,1068]
  75.     else
  76.       set pos = 0
  77.       cursor [1071,1072]
  78.     end if
  79.   end if
  80. end rollCheck
  81.